Package-level declarations

Types

Link copied to clipboard
@Serializable
data class BusinessConnection(val id: String, val user: User, val userChatId: Long, val date: Long, val canReply: Boolean, val isEnabled: Boolean)

Describes the connection of the bot with a business account.

Link copied to clipboard
@Serializable
data class BusinessIntro(val title: String? = null, val message: String? = null, val sticker: Sticker? = null)
Link copied to clipboard
@Serializable
data class BusinessLocation(val address: String, val location: Location? = null)
Link copied to clipboard
@Serializable
data class BusinessMessagesDeleted(val businessConnectionId: String, val chat: Chat, val messageIds: List<Int>)

This object is received when messages are deleted from a connected business account.

Link copied to clipboard
@Serializable
data class BusinessOpeningHours(val timeZoneName: String, val openingHours: List<BusinessOpeningHoursInterval>)
Link copied to clipboard
@Serializable
data class BusinessOpeningHoursInterval(val openingMinute: Int, val closingMinute: Int)